package com.zyp.test.test;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * @author zyp
 *         2017/12/27
 */

public class Main7Activity extends AppCompatActivity {

    private PointCircleView mPointCircleView;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main7);
        mPointCircleView = (PointCircleView) findViewById(R.id.pv);
    }

    @Override
    public void onWindowFocusChanged(boolean hasFocus) {
        super.onWindowFocusChanged(hasFocus);
        if(hasFocus){
            mPointCircleView.startAnimation();
        }
    }
}
